﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IntelligentCMS
{
    public partial class CMSFieldType_file : System.Web.UI.UserControl, iCMSField
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public string FieldName
        {
            get
            {
                return Label_FieldName.Text;
            }
            set
            {
                Label_FieldName.Text = value;

            }
        }

        public object GetValue()
        {

            return null;

        }

        protected void Button_Upload_Click(object sender, EventArgs e)
        {
            

            /*
            theFileUpload.SaveAs("/tmp/" + theFileUpload.FileName);

            CMSFile newFile = new CMSFile();

            */
        }
    }
}